<template>
  <div class="territory-list-item">
    <el-image class="image-icon" :src="item.img"></el-image>
    <div class="text-container">
      <div>{{item.title}}</div>
    </div>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  item: {
    type: Object,
    default: () => {},
  },
});
</script>

<style scoped lang="scss">
.territory-list-item {
  width: 304px;
  height: 180px;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #DFE1E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.image-icon {
  width: 65px;
  min-height: 65px;
  margin-top: 30px;
}
.text-container {
  width: 174px;
  min-height: 174px;
  margin-top: 21px;
  background-color: rgba(239, 243, 253, 0.7);
  border-radius: 87px;
  font-weight: 600;
  font-size: 18px;
  color: #172B4D;
  line-height: 30px;
  padding-top: 22px;
  text-align: center;
}
</style>